package org.chs.ts.batch.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Compay 盛唐天行
 * @Author: wuwei
 * @Censor By wuwei
 * @Sence 2023/2/9 10:49
 * @Modify 2023/2/9 10:49
 * @Description
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BatchTradeCapitalTrans {
    /**客户交易流水*/
    @JSONField(name = "transSeqNo")
    private String transSeqNo;

    /**全局流水*/
    @JSONField(name = "globalSeqNo")
    private String globalSeqNo;

    /**资金流水*/
    @JSONField(name = "capitalCode")
    private String capitalCode;

    /**行业代码 D4430  电力生产 ：D4410 燃气生产和供应业 ：D4500 自来水生产和供应 ：D4610*/
    @JSONField(name = "protocolNo")
    private String protocolNo;

    /**第三方对公客户号*/
    @JSONField(name="companyCustCode")
    private String companyCustCode;

    /**交易渠道 手机银行 0417  柜面 0401 核心 0101 统一支付 0204*/
    @JSONField(name = "channelId")
    private String channelId;


    /**交易数量*/
    @JSONField(name = "transNum")
    private Integer transNum;

    /**交易金额*/
    @JSONField(name = "transAmt")
    private BigDecimal transAmt;

    /**交易权益数量*/
    @JSONField(name = "cnsmTdCnt")
    private Integer cnsmTdCnt;

    /**权益抵扣金额*/
    @JSONField(name = "ddccashamt")
    private BigDecimal ddccashamt;


    /**交易状态 i 初始化 S 成功 F 失败*/
    @JSONField(name = "transState")
    private String transState;

    /**交易时间 2023-02-08 14:49:06*/
    @JSONField(name = "transTime")
    private String transTime;

    /**业务类型：01-代收，02-代支，99-清算 */
    @JSONField(name = "transType")
    private String transType;

    /**客户号*/
    @JSONField(name="CustNo")
    private String custNo;

    /**币种*/
    @JSONField(name="cur")
    private String cur;

    /**结算方式 0-现金 1-转账*/
    @JSONField(name="settlementMethod")
    private String settlementMethod;

    /**账务系统渠道类型 1核心 2统一支付*/
    @JSONField(name = "channelType")
    private String channelType;

    /**资金流水状态 3冲正成功，4冲正失败, 5冲正超时，6记账成功，7记账失败，8记账超时*/
    @JSONField(name = "capitalStatus")
    private String capitalStatus;

    /**资金交易实物数量*/
    @JSONField(name = "transCapitalNum")
    private Integer transCapitalNum;

    /**资金流水交易金额*/
    @JSONField(name = "transCapitalAmt")
    private BigDecimal transCapitalAmt;

    /**资金流水权益数量*/
    @JSONField(name = "equityNum")
    private Integer equityNum;

    /**资金流水抵扣金额*/
    @JSONField(name = "equityAmt")
    private BigDecimal equityAmt;

    /**权益类型(配置字典：如唐豆)*/
    @JSONField(name = "equityType")
    private String equityType;


    /**请求方交易流水号*/
    @JSONField(name = "channelSeqNo")
    private String channelSeqNo;

    /**冲正标志*/
    @JSONField(name = "isReverse")
    private String isReverse;
    /**资金流水对账状态*/
    @JSONField(name="chkStatus")
    private String chkStatus;



    /**原订单交易流水号请求的交易流水*/
    @JSONField(name="originalTransSerno")
    private String originalTransSerno;



    /**撤单状态：0 为未撤单 1为已撤单*/
    @JSONField(name="isCannel")
    private String isCannel;



    /**交易日期*/
    @JSONField(name="transDate")
    private String transDate;










    /**第三方系统编码*/
    @JSONField(name = "systemCode")
    private String systemCode;


}
